Skip to content

Conversation

@will-v-pi
Copy link
Contributor

Set default GATT path to CMAKE_CURRENT_LIST_DIR if not specified

This sets the GATT_PATH variable to the calling directory when just a filename is provided with no path, as CMAKE_CURRENT_LIST_DIR refers to the calling CMakeLists.txt, not the function CMakeLists.txt

Fixes #2366

This ensures the GATT_PATH variable is set to the calling directory when just a filename is provided with no path

Fixes #2366
@will-v-pi will-v-pi added this to the 2.1.2 milestone Mar 31, 2025
@will-v-pi will-v-pi requested a review from kilograham March 31, 2025 08:43
@kilograham kilograham merged commit 701c193 into develop Apr 4, 2025
8 checks passed
@kilograham kilograham deleted the gatt-workdir branch April 4, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pico_btstack_make_gatt_header broken when specifying files without path

3 participants